package com.foruo.learn.designmode.mediator;

/**
 * 具体同事类
 * @author GaoYuan
 * @date 2018/11/11 上午8:56
 */
public class ConcreteColleagueA extends Colleague{

    /** 构造方法设置自身姓名，与绑定中介类 */
    public ConcreteColleagueA(Mediator mediator){
        this.setName("ConcreteColleagueA");
        this.setMediator(mediator);
    }
}
